package com.power.wx.dao.impl;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

public class BaseDao extends SqlMapClientDaoSupport {

	@SuppressWarnings("unchecked")
	public <T> List<T> queryForList(String statementName) throws DataAccessException {
		return super.getSqlMapClientTemplate().queryForList(statementName);
	}
}
